package com.cheejee.goodscenter.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.cheejee.goodscenter.module.entity.Brand;
@Mapper
public interface BrandMapper {
    int deleteByPrimaryKey(Integer id);

//    int insert(Brand record);

    int insertSelective(Brand record);

    Brand selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Brand record);

//    int updateByPrimaryKeyWithBLOBs(Brand record);

//    int updateByPrimaryKey(Brand record);
    
 // ################ 以上为mybatis generator生成 #####################
    
    List<Brand> seleteBySelective(@Param("name")String name, @Param("initial")String initial);
    
    int deleteById(@Param("id")Integer...id);
}